public class work66 {
    public static void main(String[] args) {
        int ret=0;
       int []digits= {9,8,7,6,5,4,3,2,1,0};
        for(int i=0;i<digits.length;i++){
            ret+=Math.pow(10,digits.length-1-i)*digits[i];
        }
        System.out.println(ret);
    }
}
